home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / DynamicClassException.java < prev    next >
Text File  |  1998-10-01  |  681b  |  37 lines

  1. package com.symantec.itools.lang;
  2.  
  3.  
  4. /**
  5.  * @author Symantec Internet Tools Division
  6.  * @version 1.0
  7.  * @since VCafe 3.0
  8.  */
  9.  
  10. public class DynamicClassException
  11.     extends Exception
  12. {
  13.  
  14.     /**
  15.      * @since VCafe 3.0
  16.      */
  17.     protected String className;
  18.  
  19.     public DynamicClassException(String clsName)
  20.     {
  21.         super("Unable to create " + clsName);
  22.  
  23.         className = clsName;
  24.     }
  25.  
  26.     public DynamicClassException(String clsName, String msg)
  27.     {
  28.         super("Unable to create " + clsName + " because: " + msg);
  29.  
  30.         className = clsName;
  31.     }
  32.     
  33.     public String getClassName()
  34.     {
  35.         return (className);
  36.     }
  37. }